﻿<%@ Page Language="C#" ValidateRequest="false" Inherits="FrontBasePage" %>
<%@ Import Namespace="Whir.Framework" %>
<%@ Import Namespace="Whir.Service" %>
<%@ Import Namespace="Whir.Label" %>
<script type="text/C#" runat="server">
/*

 *描述： 本文件由ezEIP模板发布引擎生成，请勿直接更改此文件！！ 

 *模板路径：C:\Z_中濠酒店集团（深圳）有限公司\pc\template\新闻资讯.shtml

 *生成时间：2020-06-18 17:20:24

 */

public Whir.Domain.Column PageColumn ; 
public Whir.Domain.SiteInfo PageSiteInfo ; 
public string columnid=""; 
protected void Page_Load(object sender, EventArgs e){
    columnid=Server.UrlDecode(RequestUtil.Instance.GetQueryString("columnid"));

 
    PageColumn = ServiceFactory.ColumnService.SingleOrDefault<Whir.Domain.Column>(114);
    PageSiteInfo = ServiceFactory.SiteInfoService.SingleOrDefault<Whir.Domain.SiteInfo>(2);
    Whir.Label.LabelHelper.Instance.SerColumnAndSiteInfoToChildControl(this, PageSiteInfo, PageColumn); 
    DataBind();
}
</script><!DOCTYPE html>
<html lang="zh-cn">
<head>
<!-- head Start-->
<wtl:include runat="server"      filename="head.html"></wtl:include>
<!-- head end -->
<wtl:Menu runat="server"  columnid='<%#PageColumn.ColumnId.ToInt()%>' OnlyOne="true"><ItemTemplate>
<script type="text/javascript">
   //定义栏目ID
   var navID = '<%# Container.DataRow["ColumnId"].ToReplace() %>';
</script>
</ItemTemplate></wtl:Menu>
</head>
<body>
<!--top-->
<wtl:include runat="server"       filename="top.html"></wtl:include>
<!--top End-->
<div class="Banner">
	<!--banner-->
	<wtl:include runat="server"      filename="banner.html"></wtl:include>
	<!--banner End-->
	<!--top-->
	<wtl:include runat="server"      filename="title.html"></wtl:include>
	<!--top End-->
</div>
<script>
var wh=$(window).outerHeight(true);
$('.Banner').height($(window).outerHeight(true));
setTimeout(function(){
	$('.Banner').addClass('active');	
},300);
</script>
<!-- banner -->
<div class="Main news">
	<div class="newsBg">
		<div class="w1200">
			<div class="list Pfsc">
				<ul class="ul">
					<wtl:list runat="server"  nulltip="暂无记录" id="newsList" needpage="true" where="IsDel=0" order="sort desc,createdate desc"><ItemTemplate>
					<li>
						<a href='<%# Container.PageUrl("") %>' class="libox">
							<div class="img"><img src="<%=Whir.ezEIP.Web.SysManagePageBase.Insten.UploadFilePath %><%# Container.DataRow["ImageUrl"].ToReplace() %>" alt='<%# Container.DataRow["Title"].ToReplace() %>'></div>
							<div class="LitxtBox">
								<div class="txtBox">
									<h3 class="h3"><%# Container.DataRow["Title"].ToReplace() %></h3>
									<div class="txt">
										<%# Container.DataRow["BriefIntroduction"].ToReplace().ToStr().Cut(160,"...") %>
									</div>
									<span class="more">了解更多 +</span>
								</div>
								<div class="time">
									<b><%# Container.DataRow["CreateDate"].ToReplace().ToDateTime().ToString("dd") %></b>
									<span><%# Container.DataRow["CreateDate"].ToReplace().ToDateTime().ToString("yyyy-MM") %></span>
								</div>
							</div>
						</a>
					</li>
					</ItemTemplate></wtl:list>
				</ul>
				<wtl:Pager runat="server"      PageSize="5" isstatic="false" TargetID="newsList" Footer="3">
				<div class="PageBox">
					<div class="Pages">
						<span class="p_page">
							<a href='{$FirstPageUrl}' class="a_first">首页</a>
							<a href='{$PrevPageUrl}' class="a_prev">上一页</a>
							<em class="num">
							<Numeric>
							<a href='{$PageUrl}' class='{$PageNumClass}' id="pageNum{$PageNum}">{$PageNum}</a>
							</Numeric>
							</em>
							<a href='{$NextPageUrl}' class="a_next">下一页</a>
							<a href='{$LastPageUrl}' class="a_end">末页</a> 
						</span>
					</div> 
				</div>
				</wtl:Pager>
			</div>
		</div>
	</div>	
</div>
<!--bottom-->
<wtl:include runat="server"       filename="bottom.html"></wtl:include>
<!--bottom End-->
</body>
</html>